package com.fyl.verify.anno;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

@Target({TYPE, METHOD})
@Retention(RUNTIME)
public @interface Verify {

    String AUTH = "auth";
    String PARAM = "param";

    String value() default "";

    boolean auth() default true;

    boolean param() default true;
}
